package com.example.hyw.szysteam.POJO;

/**
 * Created by HYW on 2018/6/4.
 */

public class User {
    private String email;
    private int age;
    private String name;
    private String password;
    private String school;
    private boolean sex;
    private int type;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public boolean isSex() {
        return sex;
    }

    public void setSex(boolean sex) {
        this.sex = sex;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public User(String email, int age, String name, String password, String school, boolean sex, int type) {
        this.email = email;
        this.age = age;
        this.name = name;
        this.password = password;
        this.school = school;
        this.sex = sex;
        this.type = type;
    }

    public User() {
    }

    @Override
    public String toString() {
        return "User{" +
                "email='" + email + '\'' +
                ", age=" + age +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", school='" + school + '\'' +
                ", sex=" + sex +
                ", type=" + type +
                '}';
    }
}
